getPositionFromAlignment

void
getPositionFromAlignment
(
int x
,
int y
,
int width
,
int height
,,
out int newX
,
out int newY
,)

Parameters

x int

Specified X

y int

Specified Y

width int

The width of the subject

height int

The height of the subject

alignment HipTextAlign

Alignment for calculating newX and newY

newX int

Out arg

newY int

Out arg

bounds Size

The bounds to align to. If It is == 0, it won't be considered in the calculation

Meta